Automattic\Jetpack\Dashboard_Customizations\Base_Admin_Menu B

Total Complexity 99
Dependencies 2
Dependents 1
Total lines 743
Lines of code 392
Logical lines of code 199
Comment lines 254
Methods 28
Properties 3

Methods 28

Method Rating Maintainability Complexity Lines of code
update_menu()
A
45 14 41
update_submenus()
A
48 10 34
override_svg_icons()
A
44 9 45
hide_parent_of_hidden_submenus()
S
55 7 18
handle_preferred_view()
S
53 6 22
enqueue_scripts()
S
49 4 35
__construct()
S
56 5 15
get_current_screen()
S
59 5 14
hide_submenu_page()
S
60 4 14
sort_hidden_submenus()
S
62 4 12
get_preferred_view()
S
64 4 10
get_submenu_item_count()
S
68 4 7
set_menu_item()
S
61 3 11
add_dashboard_switcher()
S
53 2 26
dashboard_switcher_scripts()
S
60 1 23
is_item_visible()
S
76 2 3
hide_submenu_element()
S
71 2 5
get_instance()
S
69 2 7
get_preferred_views()
S
70 2 7
should_link_to_wp_admin()
S
80 1 3
admin_body_class()
S
80 1 3
add_admin_menu_separator()
S
65 1 10
set_site_icon_inline_styles()
S
72 1 9
set_preferred_view()
S
72 1 5
configure_colors_for_rtl_stylesheets()
S
79 1 3
is_rtl()
S
81 1 3
has_visible_items()
S
69 1 7
reregister_menu_items()
S
100 1 0